package com.oa.ylms.apps.business.archives;

import java.util.List;

import com.oa.ylms.apps.entity.archives.RPCategoryValue;

public interface IRPCategoryService {
	
	public int addRPCategory(String categoryName, int isRP)throws Exception;
	
	public boolean modifyRPCategory(int categoryId, String categoryName)throws Exception;
	
	public boolean deleteRPCategory(int categoryId)throws Exception;
	
	public boolean toDisable(int categoryId)throws Exception;
	
	public boolean toEnable(int categoryId)throws Exception;
	
	public RPCategoryValue queryByCategoryId(int categoryId)throws Exception;
	
	public List<RPCategoryValue> queryRPCategory(Integer isRP, Integer states)throws Exception;
}
